package com.turing.post.selfwebservice.util;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 自助服务网站注册用户
 * 
 * @author 李治
 * 
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "CARDHOLDERUSER")
public class CardHolderUser implements Serializable {
	private BigInteger cardHolderUserId;// 注册用户ID
	private String logonName;// 登录名
	private String logonPasswd;// 密码
	private String email;// 邮箱
	private String name;// 姓名
	private BigInteger idTypeId;// 证件类型
	private String idNo;// 证件号
	private String sex;// 性别
	private String status;// 状态
	private String linkTele;// 联系电话
	private String mobile;// 手机号
	private String addr;// 联系地址
	private Integer pwdErrCnt; // 密码错误次数
	private Date lastPwdErrTime;// 上次密码错误时间
	private Date lastPwdChangeTime;// 上次密码修改时间
	private String question1;// 安全问题1
	private String answer1; // 安全问题答案1
	private String question2;// 安全问题2
	private String answer2;// 安全问题答案2
	private String question3;// 安全问题3
	private String answer3;// 安全问题答案3
	private String remark;// 备注

	public CardHolderUser() {
		super();
	}

	@Id
	@Column(name = "CARDHOLDERUSERID")
	public BigInteger getCardHolderUserId() {
		return cardHolderUserId;
	}

	public void setCardHolderUserId(BigInteger cardHolderUserId) {
		this.cardHolderUserId = cardHolderUserId;
	}

	@Column(name = "LOGONNAME")
	public String getLogonName() {
		return logonName;
	}

	public void setLogonName(String logonName) {
		this.logonName = logonName;
	}

	@Column(name = "LOGONPASSWD")
	public String getLogonPasswd() {
		return logonPasswd;
	}

	public void setLogonPasswd(String logonPasswd) {
		this.logonPasswd = logonPasswd;
	}

	@Column(name = "EMAIL")
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "NAME")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "IDTYPEID")
	public BigInteger getIdTypeId() {
		return idTypeId;
	}

	public void setIdTypeId(BigInteger idTypeId) {
		this.idTypeId = idTypeId;
	}

	@Column(name = "IDNO")
	public String getIdNo() {
		return idNo;
	}

	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}

	@Column(name = "SEX")
	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	@Column(name = "STATUS")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Column(name = "LINKTELE")
	public String getLinkTele() {
		return linkTele;
	}

	public void setLinkTele(String linkTele) {
		this.linkTele = linkTele;
	}

	@Column(name = "MOBILE")
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@Column(name = "ADDR")
	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	@Column(name = "PWDERRCNT")
	public Integer getPwdErrCnt() {
		return pwdErrCnt;
	}

	public void setPwdErrCnt(Integer pwdErrCnt) {
		this.pwdErrCnt = pwdErrCnt;
	}

	@Column(name = "LASTPWDERRTIME")
	public Date getLastPwdErrTime() {
		return lastPwdErrTime;
	}

	public void setLastPwdErrTime(Date lastPwdErrTime) {
		this.lastPwdErrTime = lastPwdErrTime;
	}

	@Column(name = "LASTPWDCHANGETIME")
	public Date getLastPwdChangeTime() {
		return lastPwdChangeTime;
	}

	public void setLastPwdChangeTime(Date lastPwdChangeTime) {
		this.lastPwdChangeTime = lastPwdChangeTime;
	}

	@Column(name = "QUESTION1")
	public String getQuestion1() {
		return question1;
	}

	public void setQuestion1(String question1) {
		this.question1 = question1;
	}

	@Column(name = "ANSWER1")
	public String getAnswer1() {
		return answer1;
	}

	public void setAnswer1(String answer1) {
		this.answer1 = answer1;
	}

	@Column(name = "QUESTION2")
	public String getQuestion2() {
		return question2;
	}

	public void setQuestion2(String question2) {
		this.question2 = question2;
	}

	@Column(name = "ANSWER2")
	public String getAnswer2() {
		return answer2;
	}

	public void setAnswer2(String answer2) {
		this.answer2 = answer2;
	}

	@Column(name = "QUESTION3")
	public String getQuestion3() {
		return question3;
	}

	public void setQuestion3(String question3) {
		this.question3 = question3;
	}

	@Column(name = "ANSWER3")
	public String getAnswer3() {
		return answer3;
	}

	public void setAnswer3(String answer3) {
		this.answer3 = answer3;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
